/* 
    Created on : 2015-3-17, 11:49:27
    Author     : jeeliu <jee.liu@jeechange.com>
*/

/* 表格样式 */

/* TABLES begin */
.tableoptions{
    background:#fcfcfc; border:1px solid #ddd; border-bottom:0; padding:8px;
    -moz-border-radius:0 1px 0 #fff; -webkit-border-radius:0 1px 0 #fff; border-radius:0 1px 0 #fff;
}

.tableoptions form{ display:inline }

.tableoptions button{
    background:#fcfcfc; font-size:11px; color:#666; padding:7px 10px; border:1px solid #ccc; margin:0; outline:none;
    -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
}

.tableoptions button:hover{ background:#eee; cursor:pointer; }

.tableoptions select{
    background:#fff; padding:6px 5px 7px 5px; border:1px solid #ccc; margin:0; outline:none; font-size:11px; color:#666;
    -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
}

.stdtable{ width:100%; }

.stdtable tbody tr.odd{ background:none repeat scroll 0 0 #fdfdfd; }

.stdtable tbody tr.curr{ background:none repeat scroll 0 0 #dfe9f6; }
.stdtable tbody tr.selected{ background:none repeat scroll 0 0 #aee9ff; }

.stdtable tbody tr td{ width:120px; padding:7px 10px 7px 25px; border-bottom:1px solid #eee; color:#666; }

@media screen and (max-width:1440px){
    .stdtable tbody tr td{ width:80px; }
}

.stdtable thead th.head1, .stdtable tfoot th.head1, .stdtable thead td.head1, .stdtable tfoot td.head1{
    background-color:#f7f7f7;
}

.stdtable thead th:first-child, .stdtable tfoot th:first-child, .stdtable thead td:first-child, .stdtable tfoot td:first-child{
    border-left:1px solid #ddd;
}

.stdtable thead th, .stdtable thead td{ border:solid 1px #ddd; padding:7px 10px; text-align:left; }

.stdtable th, .stdtable td{ color:#333; line-height:21px; vertical-align:middle;
}

.stdtable th{ background-color:#fcfcfc; }

.more-action{ position:relative; display:inline; vertical-align:middle; text-align:center; padding:3px 3px 0 3px; margin-left:3px; }

.more-action ul{ z-index:19880501; background:#fefefe; padding:5px 15px; border:1px solid #dfdfdf; position:absolute; top:20px; right:0; white-space:nowrap; display:none; }

.more-action ul li{ list-style-type:none; width:auto; display:block; height:30px; line-height:30px; text-align:left;}

.more-action ul li a{ display:block; }

.more-action .arrows{ cursor:pointer; display:inline-block; background:url(../images/icon/iocn-down-1.png) right center no-repeat; padding-right:16px;}

.more-action.open .arrows{ color:#0a8acd; background-image:url(../images/icon/icon-down-blue.png);}

.more-action.open ul{ display:block; }

.stdtable tbody tr td.wid-auto{ width:auto; min-width:80px; }

.stdtable tbody td.td-center{ text-align:center; }

.stdtable tbody td.td-right{ text-align:right; }

.stdtable th, .stdtable td{ color:#333; line-height:21px; vertical-align:middle; }

#nicetable td:last-child, #table2 th:last-child, #nicetable td:nth-child(2), #table2 th:nth-child(2){ }

/* 针对某些列做特别的样式 */
#dyntable td:last-child, #dyntable2 th:last-child{ display:none; }

#inputtable input[type=text]{ width:80px; height:27px; border:1px solid #eee; }

/* TABLES end */

/* formtable begin */
.formtable{
    -moz-border-bottom-colors:none;
    -moz-border-left-colors:none;
    -moz-border-right-colors:none;
    -moz-border-top-colors:none;
    border-image:none;
    padding:8px;
}

.formtable{ width:100%; }

.formtable tbody tr.odd{ background:none repeat scroll 0 0 #fdfdfd; }

.formtable tbody tr.curr{ background:none repeat scroll 0 0 #dfe9f6; }

.formtable tbody tr td{ padding:5px; }

.formtable thead th.head1, .formtable tfoot th.head1, .formtable thead td.head1, .formtable tfoot td.head1{
    background-color:#f7f7f7;
}

.formtable thead th:first-child, .formtable tfoot th:first-child, .formtable thead td:first-child, .formtable tfoot td:first-child{
}

.formtable thead th, .formtable thead td{
    -moz-border-bottom-colors:none;
    -moz-border-left-colors:none;
    -moz-border-right-colors:none;
    -moz-border-top-colors:none;
    border-image:none;
    padding:2px 5px;
    text-align:left;
}

.formtable th, .formtable td{
    color:#333;
    line-height:21px;
    vertical-align:middle;
}

.formtable th{ background-color:#fcfcfc; }

.formtable tbody tr td:first-child{
}

.formtable tbody tr td{
    color:#666;
    padding:5px 10px;
}

.formtable th, .formtable td{
    color:#333;
    line-height:21px;
    vertical-align:middle;
}
.formtable td .split-line{
    border-bottom:1px solid #ddd;margin-left: 110px;margin-bottom: 20px;margin-top: 20px; text-align:left;
    font-weight:700;
    color:#4f91e4;
}

#contenteditsdiv .formtable td .split-line{
    margin-left: 10px;
}

/* formtable end */

.tableoptions{
    padding:10px 0;
    border-top:none;
    border-left:none;
    border-right:none;
    border-bottom:1px solid #d1d1d1;
    background:none;
    margin-bottom:10px;
}

.cbox-list .stdtable thead th{
    background:#f7f7f7;
    border-left:none;
    border-right:none;
}

.cbox-list .stdtable thead th .table-head{
    border-left:1px solid #e6e6e6;
    padding-left:15px;
    padding-right:4px;
    display:block;
    height:30px;
    line-height:30px;
    cursor:default;
}

.cbox-list .stdtable thead th:first-child .table-head{
    border-left:none;
}

.stdtable tbody tr td .ico{ width:100%; min-height:20px; position:absolute; top:28px; left:30px; z-index:9999; padding:.5%; background:#f7f7f7; border:1px dashed #000; border-radius:10px; }

.stdtable tbody tr td .ico span{ width:100%; float:left; padding:.5%; margin-left:5px; }

.stdtable thead tr:hover th{
    background:#fafafa;
}

.stdtable thead th.data-sort-default .table-head{
    background:url(../images/icon/icon-sort-default.png) no-repeat right center;
}

.stdtable thead th.data-sort-asc .table-head{
    background:url(../images/icon/icon-sort-asc.png) no-repeat right center;
}

.stdtable thead th.data-sort-desc .table-head{
    background:url(../images/icon/icon-sort-desc.png) no-repeat right center;
}

.stdtable thead th.data-sort-action{
    background:#ededed !important;
}

.stdtable thead th.data-sort-action .table-head{
    background:#ededed;
}

